import http from '../utils/request'

export const getGoods = ({ pageNo, pageSize }) => {
  return http({
    method: 'get',
    url: `/api/getgoods?pageindex=${pageNo}&limit=${pageSize}`
  })
}

export const getGoodsInfo = id => {
  return http({
    method: 'get',
    url: '/api/goods/getinfo/' + id
  })
}


